package com.qidian.buy.goods.service;

import com.qidian.buy.common.pojo.BuyResult;
import com.qidian.buy.pojo.ItemSpecification;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 戴着假发的程序员
 * @since 2024-07-17 09:36:01
 */
public interface IItemSpecificationService extends IService<ItemSpecification> {
    /**
     * 带条件的分页查询
     * @param pageNum
     * @param limit
     * @param spe
     * @return
     */
    BuyResult queryList(int pageNum, int limit, ItemSpecification spe);

    /**
     * 保存规格
     * @param spe
     * @return
     */
    BuyResult saveSpe(ItemSpecification spe);

    BuyResult get(Long speId);
}
